package GetPicture_Factory_02;
import GetPicture_Factory_02.Factory.*;

public class GetPictureApplication {
    public static void main(String[] args) {

        GifReaderFactory gifReaderFactory = new GifReaderFactory();
        gifReaderFactory.createImageReader().readImage("gif");

        PngReaderFactory pngReaderFactory = new PngReaderFactory();
        pngReaderFactory.createImageReader().readImage("png");

        JpgReaderFactory jpgReaderFactory = new JpgReaderFactory();
        jpgReaderFactory.createImageReader().readImage("jpg");
    }
}
